package com.system.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.system.dao.UserDao;
import com.system.pojo.User;

@Service
public class UserService {

	@Autowired
	private UserDao userDao;

	public User getById(String id) {
		return userDao.selectByPrimaryKey(id);
	}
}
